package _15作业.t2;

public class DemoT2 {
    public static void main(String[] args) {
        Coder coder = new Coder("马化腾",22);
        coder.eat();
        coder.sleep();
        coder.coding();

        System.out.println("----------------------------");
        Teacher teacher = new Teacher("马云",33);
        teacher.eat();
        teacher.sleep();
        teacher.teach();
    }
}
